Avoid a warning when assigning from an undefined property by making
sure to pass a proper null value instead.
https://bugzilla.gnome.org/show_bug.cgi?id=781471
return source;
}
- source = new FdoNotificationDaemonSource(title, pid, sender, ndata ? ndata.hints['desktop-entry'] : null);
+ let appId = ndata ? ndata.hints['desktop-entry'] || null : null;
+ source = new FdoNotificationDaemonSource(title, pid, sender, appId);
this._sources.push(source);
source.connect('destroy', Lang.bind(this, function() {